<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<f:view>
  <afh:html>
    <afh:head title="Werksoortadmin">
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
      <link type="text/css" rel="stylesheet" href="css/jdeveloper.css"/>
    </afh:head>
    <afh:body>
      <af:messages/>
      <h:form>
        <af:panelHeader text="Werksoort Administratie"/>
        <af:table value="#{bindings.WerksoortBeheer1.collectionModel}" var="row"
                  rows="#{bindings.WerksoortBeheer1.rangeSize}"
                  first="#{bindings.WerksoortBeheer1.rangeStart}"
                  emptyText="#{bindings.WerksoortBeheer1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
                  selectionState="#{bindings.WerksoortBeheer1.collectionModel.selectedRow}"
                  selectionListener="#{bindings.WerksoortBeheer1.collectionModel.makeCurrent}">
          <f:facet name="selection">
            <af:tableSelectOne text="Select and">
              <af:commandButton text="Edit" action="edit"/>
            </af:tableSelectOne>
          </f:facet>
          <f:facet name="actions">
            <af:commandButton text="New" action="new"/>
          </f:facet>
          <af:column sortProperty="Naam" sortable="true"
                     headerText="#{bindings.WerksoortBeheer1.labels.Naam}">
            <af:outputText value="#{row.Naam}"/>
          </af:column>
        </af:table>
        <af:panelButtonBar>
          <af:commandButton actionListener="#{bindings.Commit.execute}"
                            text="Commit"
                            disabled="#{!bindings.Commit.enabled}"/>
          <af:commandButton actionListener="#{bindings.Rollback.execute}"
                            text="Rollback"
                            disabled="#{!bindings.Rollback.enabled}"
                            immediate="true">
            <af:resetActionListener/>
          </af:commandButton>
          <af:commandLink text="Back" action="back" immediate="true"/>
        </af:panelButtonBar>
      </h:form>
    </afh:body>
  </afh:html>
</f:view>